package com.ruoyi.project.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 项目信息对象 project_info
 * 
 * @author ruoyi
 * @date 2022-08-26
 */
public class ProjectInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String projectNo;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目简介 */
    @Excel(name = "项目简介")
    private String projectSname;

    /** 项目地址 */
    @Excel(name = "项目地址")
    private String projectAddr;

    /** 对方单位 */
    @Excel(name = "对方单位")
    private String oppositeCompany;

    /** 订单类型 */
    @Excel(name = "订单类型")
    private String orderType;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String contractNo;

    /** 签订日期 */
    private Date signingTime;

    /** 计划开工时间 */
    private Date plannedStartTime;
    /** 交付时间 */
    private Date dueTime;

    /**
     * 建设单位
     */
    @Excel(name = "建设单位")
    private String constructionUnit;

    /**
     * 联系人
     */
    @Excel(name = "联系人")
    private String contactPerson;
    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String contactNumber;

    /** 结构量 */
    @Excel(name = "结构量")
    private Long structCount;

    /** 经办人 */
    @Excel(name = "经办人")
    private String operator;

    /** 已产构件数 */
    @Excel(name = "已产构件数")
    private Long proCompCount;

    /** 已发货构件数 */
    @Excel(name = "已发货构件数")
    private Long issCompCount;

    /** 未排构件数 */
    @Excel(name = "未排构件数")
    private Long notCompCount;

    /** 状态（0执行中，1已完成） */
    @Excel(name = "状态", readConverterExp = "0=执行中,1=已完成")
    private String status;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectNo(String projectNo) 
    {
        this.projectNo = projectNo;
    }

    public String getProjectNo() 
    {
        return projectNo;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setProjectSname(String projectSname) 
    {
        this.projectSname = projectSname;
    }

    public String getProjectSname() 
    {
        return projectSname;
    }
    public void setProjectAddr(String projectAddr) 
    {
        this.projectAddr = projectAddr;
    }

    public String getProjectAddr() 
    {
        return projectAddr;
    }
    public void setOppositeCompany(String oppositeCompany) 
    {
        this.oppositeCompany = oppositeCompany;
    }

    public String getOppositeCompany() 
    {
        return oppositeCompany;
    }
    public void setOrderType(String orderType) 
    {
        this.orderType = orderType;
    }

    public String getOrderType() 
    {
        return orderType;
    }
    public void setContractNo(String contractNo) 
    {
        this.contractNo = contractNo;
    }

    public String getContractNo() 
    {
        return contractNo;
    }
    public void setStructCount(Long structCount) 
    {
        this.structCount = structCount;
    }

    public Long getStructCount() 
    {
        return structCount;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setProCompCount(Long proCompCount) 
    {
        this.proCompCount = proCompCount;
    }

    public Long getProCompCount() 
    {
        return proCompCount;
    }
    public void setIssCompCount(Long issCompCount) 
    {
        this.issCompCount = issCompCount;
    }

    public Long getIssCompCount() 
    {
        return issCompCount;
    }
    public void setNotCompCount(Long notCompCount) 
    {
        this.notCompCount = notCompCount;
    }

    public Long getNotCompCount() 
    {
        return notCompCount;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    public Date getSigningTime() {
        return signingTime;
    }

    public void setSigningTime(Date signingTime) {
        this.signingTime = signingTime;
    }

    public Date getPlannedStartTime() {
        return plannedStartTime;
    }

    public void setPlannedStartTime(Date plannedStartTime) {
        this.plannedStartTime = plannedStartTime;
    }

    public Date getDueTime() {
        return dueTime;
    }

    public void setDueTime(Date dueTime) {
        this.dueTime = dueTime;
    }

    public String getConstructionUnit() {
        return constructionUnit;
    }

    public void setConstructionUnit(String constructionUnit) {
        this.constructionUnit = constructionUnit;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getContactNumber() {
        return contactNumber;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectNo", getProjectNo())
            .append("projectName", getProjectName())
            .append("projectSname", getProjectSname())
            .append("projectAddr", getProjectAddr())
            .append("oppositeCompany", getOppositeCompany())
            .append("orderType", getOrderType())
            .append("contractNo", getContractNo())
            .append("structCount", getStructCount())
            .append("operator", getOperator())
            .append("proCompCount", getProCompCount())
            .append("issCompCount", getIssCompCount())
            .append("notCompCount", getNotCompCount())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("status", getStatus())
            .append("comment", getComment())
            .toString();
    }
}
